package com.dongdongshop.service.seckill;

import com.dongdongshop.pojo.seckill.TbSeckillGoods;
import com.dongdongshop.pojo.seckill.TbSeckillOrder;

import java.util.List;

public interface SeckillService {

    List<TbSeckillGoods> getSecKillGoods();

    TbSeckillGoods findSeckillById(Long id);

    void submitOrder(Long seckillId, Long id);

    TbSeckillOrder findOrder(Long seckillId, Long id);
}
